package com.lyfei.yd.service;

import com.lyfei.yd.domain.entity.SpuImg;
import com.lyfei.yd.mapper.SpuImgMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("spuImgService")
public class SpuImgService extends BaseService<SpuImgMapper, SpuImg> {

    @Transactional
    public void hardDeleteBySpuId(Long spuId) {
        this.baseMapper.hardDeleteBySpuId(spuId);
    }

}
